package com.springboot.base.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 *
 * @author beike
 * @date 2021/3/18
 */
@Controller
@RequestMapping("/")
@Api("Api文档")
public class IndexController {

    @GetMapping("")
    @ApiOperation("首页接口")
    public String index() {
        return "index";
    }
}
